package com.cq.hd.member.mapper;

import com.cq.hd.member.api.dto.InviteBusinessUrlPageDto;
import com.cq.hd.member.api.vo.InviteBusinessUrlPageVo;
import com.cq.hd.member.po.TbInviteBusinessUrlPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 邀请商家链接表 Mapper 接口
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-19
 */
@Mapper
public interface TbInviteBusinessUrlMapper extends BaseMapper<TbInviteBusinessUrlPo> {

    List<InviteBusinessUrlPageVo> listInviteBusinessUrlByDto(InviteBusinessUrlPageDto inviteBusinessUrlPageDto);

    int addSettleSuccessCount(@Param("id") Long id, @Param("settleSuccessCount") int settleSuccessCount);
}
